Random

Prototype:

function Random(const Range: Integer): Integer;

Description:

Returns a random number within the range 0 <= X < Range.